var arr = [1, 2, 3, 4, 5];
for (var i = 0; i < arr.length; i++) {
    console.info("for\u5FAA\u73AF\u6570\u7EC4\uFF0C arr\u6570\u7EC4\u4E0B\u6807\u4E3A".concat(i, "\u65F6\uFF0C \u503C\u4E3A").concat(arr[i]));
}
arr.forEach(function (value, index, array) {
    // console.info(`forEach循环数组， arr数组下标为${arrCallBack.}时， 值为${arr[i]}`);
    console.info('forEach_value', value);
    console.info('forEach_index', index);
    console.info('forEach_array', array);
});
for (var _i = 0, arr_1 = arr; _i < arr_1.length; _i++) {
    var value = arr_1[_i];
    console.info('for-of', value);
}
var filterRes = arr.filter(function (value) { return value > 2 && value < 5; });
console.info('filter', filterRes);
var mapResult = arr.map(function (value) { return value > 1 && value < 5; });
console.info('map', mapResult);
var reduceRes = arr.reduce(function (pre, current) { return pre + current; }, 100);
console.info('reduce', reduceRes);
